package com.charger.trade.service.impl;

import com.charger.trade.domain.Records;
import com.charger.trade.mapper.RecordsMapper;
import com.charger.trade.service.IRecordsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 交易管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-11-22
 */
@Service
public class RecordsServiceImpl implements IRecordsService
{
    @Autowired
    private RecordsMapper recordsMapper;

    /**
     * 查询交易管理
     * 
     * @param chargingrecordsId 交易管理主键
     * @return 交易管理
     */
    @Override
    public Records selectChargingrecordsByChargingrecordsId(Long chargingrecordsId)
    {
        return recordsMapper.selectChargingrecordsByChargingrecordsId(chargingrecordsId);
    }

    /**
     * 查询交易管理列表
     * 
     * @param records 交易管理
     * @return 交易管理
     */
    @Override
    public List<Records> selectChargingrecordsList(Records records)
    {
        return recordsMapper.selectChargingrecordsList(records);
    }


}
